/**
 * 
 */
package com.xb.demo17.observer.javautil;

import java.util.Observable;

/**
 * @author kexue
 *
 */
public class Subject1 extends Observable {

	private int status = 0;

	public void changeStatus(int status) {
		this.status = status;
		super.setChanged();
		notifyObservers();
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
